package com.hgxd.entity.vo.pagevo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hgxd.base.PageEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: FSD
 * @Created 2023/10/28 16:56
 * @description
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "AlarmMsgPageVo类",description = "报警信息接收用到的类")
public class AlarmMsgPageVo extends PageEntity {

    @ApiModelProperty(value = "组织id",required = false)
    private Integer organizationId;

    @ApiModelProperty(value = "设备名称",required = false)
    private String equipmentName;

    @ApiModelProperty("开始时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endingTime;
}
